package com.dfbz.service;

import com.dfbz.model.User;

import java.util.List;
import java.util.Map;

public interface UserDaoServlet {

    List<User> fingPage(String realName, Integer starIndex, Integer pageSize);

    Integer countByRealName(String realName);

    List<Map<String, Object>> findAllDeptName();

    Integer findUserMessage(Long id);

    User getById(Long id);

    List<Map<String, Object>> getMyFocus(Integer id,Integer starPage,Integer pageNum);

    Integer findAllMyFocus(Integer id);

    void cancelFocus(int parseInt, int parseInt1);

    void addFocus(Long userId, Long foucsId);

    List<Map<String, Object>> getAllMyFocus(Long id);

    Integer befocus(long messageId);

    void addLook(long messageId);

}
